
<div class="modal" tabindex="-1" role="dialog">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title">Modal title</h4>
      </div>
      <div class="modal-body">
        {% if include.has_error == true %}{% include widgets/communication/alert-danger.html %}{% endif %}
        <form class="form-horizontal">
          <div class="form-group">
            <label class="col-sm-2 control-label" for="{{include.id_default}}">Default</label>
            <div class="col-sm-10">
              <input type="text" id="{{include.id_default}}" class="form-control"></div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="{{include.id_disabled}}">Disabled</label>
            <div class="col-sm-10">
              <input type="text" id="{{include.id_disabled}}" class="form-control" disabled></div>
          </div>
          <div class="form-group {% if include.has_error == true %}has-error{% endif %}">
            <label class="col-sm-2 control-label" for="{{include.id_error}}">{% if include.has_error == true %}With{% else %}No{% endif %} error</label>
            <div class="col-sm-10">
              <input type="text" id="{{include.id_error}}" class="form-control">
{% if include.has_error == true %}
              <span class="help-block">Please correct the error</span>
{% endif %}
            </div>
          </div>
        </form>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
        <button type="button" class="btn btn-primary">Save changes</button>
      </div>
    </div><!-- /.modal-content -->
  </div><!-- /.modal-dialog -->
</div><!-- /.modal -->
